<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('role_convertor'))
{
	function role_convertor($role_id) {
            switch ($role_id) {
                case 1:
                    return "pratenik";
                    break;
                case 2:
                    return "sovetnik";
                    break;
                case 3:
                    return "gradonacalnik";
                    break;
                default:
                    return "pratenik";
                    break;
            }
        }
}
?>
